import re, itertools

Output = open('text.txt','r')
key={"name","lei","sub_fund","title","isin"}
text_list = []
split = iter(re.split(r"\n", str(Output)))
print(split)
for entry in iter(lambda: list(itertools.islice(split, 5)), []):
    i_entry = iter(entry)
    d_entry = {k:i_entry for k in key}
    text_list.append(d_entry)


print(text_list)

for entry in text_list:
    for k, v in entry.items():
        print("{}:{}".format(k,v))
